package com.vincent.sciinfo.service;

import com.vincent.sciinfo.interceptor.FeignPassToken;
import com.vincent.sciinfo.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-loginCount", configuration = FeignPassToken.class)
public interface LoginCountService {

    @RequestMapping("/loginCount/checkUserCountNum")
    int checkUserCountNum(@RequestBody User user);
}
